package com.hst.capacity.infra.persistence.jpa.setting.line;


import com.hst.capacity.domain.model.entity.setting.line.IntercityLineAutoGrabEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface IntercityLineAutoGrabRepository extends JpaRepository<IntercityLineAutoGrabEntity, String> {

    IntercityLineAutoGrabEntity findByIdLineAndChannel(String idLine, int channel);

    List<IntercityLineAutoGrabEntity> findAll();

    List<IntercityLineAutoGrabEntity> findByIdLine(String idLine);

    IntercityLineAutoGrabEntity findByIdLineAutoGrab(String idLineAutoGrab);

}
